package com.xbongbong.pro.log.pojo.dto;

import com.xbongbong.paas.domain.entity.PaasFormDataEntity;
import com.xbongbong.paas.pojo.dto.FormDataUpdateDTO;
import com.xbongbong.pro.formdata.pojo.vo.BeforeUpdateVO;
import com.xbongbong.pro.formdata.pojo.vo.UpdateVO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author: yingjianfeng
 * @date: 2022/4/14 09:57
 * @description:
 */
@Getter
@Setter
@ToString
public class UpdateOperationLogDTO {
    private FormDataUpdateDTO formDataUpdateDTO;
    private PaasFormDataEntity newPaasFormDataEntity;
    private UpdateVO updateVO;
    private BeforeUpdateVO beforeUpdateVO;
    /**
     * 编辑标签  文案不一样 区分一下
     */
    private Integer editLable;

    public UpdateOperationLogDTO() {

    }

    public UpdateOperationLogDTO(FormDataUpdateDTO formDataUpdateDTO, PaasFormDataEntity newPaasFormDataEntity, UpdateVO updateVO, BeforeUpdateVO beforeUpdateVO) {
        this.formDataUpdateDTO = formDataUpdateDTO;
        this.newPaasFormDataEntity = newPaasFormDataEntity;
        this.updateVO = updateVO;
        this.beforeUpdateVO = beforeUpdateVO;
        this.editLable = 0;
    }

    public UpdateOperationLogDTO(FormDataUpdateDTO formDataUpdateDTO, PaasFormDataEntity newPaasFormDataEntity, UpdateVO updateVO, BeforeUpdateVO beforeUpdateVO, Integer editLable) {
        this.formDataUpdateDTO = formDataUpdateDTO;
        this.newPaasFormDataEntity = newPaasFormDataEntity;
        this.updateVO = updateVO;
        this.beforeUpdateVO = beforeUpdateVO;
        this.editLable = editLable;
    }
}
